package com.dyh.service;

import com.dyh.po.family;
import com.dyh.po.familyMain;

import java.util.List;

public interface familyService {
    public List<family> findAllFamily();

    public family findFamilyById(String familyid);

    public int addFamily(String proId, String cityId, String villId, String groupId, String familyId, String familyName, String familyNum, String agrNum,
                         String address, String createtime, String logName);

    public int addFamilyMain(String fullname, String idNo, String sex, String birthday, String national, String health, String culture,
                             String resAttribute, String agrRes, String marry, String workAdd, String telephone);

    public familyMain findFamilyInfByName(String fullname);

    public Boolean editFamily(String familyId,String familyNum, String agrNum, String address, String createTime, String logName);

    public Boolean editFamilyMain(String fullname, String idNo, String sex, String birthday, String national, String health, String culture, String resAttribute, String agrResidence, String marry, String workAdd, String telephone);

    public Boolean deleteFamily(String familyId);
}
